/* 设计器左侧面板 */

.form-main {
  display: flex;
  height: 100%;
  width: 100%;
  position: relative;
}

.left-panel {
  height: 100%;
  overflow: auto;
  width: 220px;
  background-color: rgb(241, 242, 244);
}

.left-panel .left-item-outer {
  display: flex;
  width: 100%;
  height: 40px;
  padding: 0 16px;
  line-height: 40px;
  color: rgba(23, 35, 61, 0.75);
  font-size: 13px;
}

.left-panel .left-item-title {
  color: #17233d;
  font-size: 14px;
}

/* 卡片样式 */

.item-text:after, .item-text:before {
  position: absolute;
  width: 0;
  height: 0;
  content: '';
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  border-color: transparent;
  border-style: solid;
  border-width: 5px;
  border-bottom-color: #f8f8f9;
}

.item-text:before {
  top: -5px;
  right: -5px;
}

.item-text:after {
  top: -4px;
  right: -4px;
  border-width: 4px;
}

/* 卡片条目 */

.choose-dim-item {
  /* color: #fff; */
  /* background-color: #2185f0; */
  background-color: #dfe4e7;
  height: 28px;
  line-height: 28px;
  padding: 0 8px;
  margin-right: 8px;
  cursor: pointer;
  position: relative;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.item-close-pos {
  width: 16px;
  display: inline-block;
}

.close-btn {
  top: -1px;
  position: relative;
  display: none;
  margin-right: 0;
  font-size: 16px;
}

.dim-btn {
  color: rgba(23, 35, 61, 0.55);
  margin-right: 4px;
  margin-top: 6px;
  float: right;
}

.choose-dim-item:hover .item-close-pos {
  display: none;
}

.choose-dim-item:hover .close-btn {
  display: inline-block !important;
}

/* --------- */

.drop-active {
  /* border: 1px dashed #aaa; */
}

.drop-target {
  background-color: #f3f3f3 !important;
}

/* -------- */

/* tab小号 */

.tabs-small .ivu-tabs-nav .ivu-tabs-tab {
  font-size: 12px;
  padding: 7px 2px;
}

.tabs-small .ivu-tabs-nav .ivu-tabs-tab-active {
  color: #3399ff;
}

.tabs-small .ivu-tabs-bar {
  border-bottom: none;
}